package com.qfedu.edu.messagecenterserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qfedu.edu.pojo.Device;
import com.qfedu.edu.vo.CmdParamVo;
import com.qfedu.edu.vo.DriverMqttAuthVo;

/**
 * <p>
 * 设备表 服务类
 * </p>
 *
 * @author xiaobobo
 * @since 2024-09-30
 */
public interface DeviceService extends IService<Device> {
    /**
     * 硬件认证的逻辑
     * @param driverMqttAuthVo
     * @return
     */
    DriverMqttAuthVo auth(DriverMqttAuthVo driverMqttAuthVo);

    /**
     * 发送指令控制硬件
     * @param cmdParamVo
     */
    void sendCommand(CmdParamVo cmdParamVo);
}
